package com.czmh.etc.onlinepubsys.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * ETC售后设备信息表
 *
 * @author Auto
 * @email Auto
 * @date 2021-05-26 16:44:50
 */
@Data
public class EtcAfterSaleDevice implements Serializable {
    private static final long serialVersionUID = 1L;


    @ApiModelProperty("ID")
    private String id;

    @ApiModelProperty("设备类型 1.etc卡 2.obu")
    private Integer type;

    @ApiModelProperty("订单号")
    private String orderId;

    @ApiModelProperty("设备编号")
    private String deviceSn;

    @ApiModelProperty("供应商")
    private String supplierName;

    @ApiModelProperty("ETC发行方")
    private String issuerName;

    @ApiModelProperty("型号")
    private String model;

    @ApiModelProperty("设备激活状态 0.未激活 1.已激活")
    private Integer activeStatus;

    @ApiModelProperty("设备激活时间")
    private Date activeTime;

    @ApiModelProperty("OBU设备结算状态 0.未结算 1.已结算")
    private Integer settlementStatus;

    @ApiModelProperty("结算时间")
    private Date settlementTime;

    @ApiModelProperty("产品编号")
    private String productSn;

    @ApiModelProperty("产品型号")
    private String productModel;

    @ApiModelProperty("进库价")
    private BigDecimal stockMoney;

    @ApiModelProperty("最新销售价")
    private BigDecimal saleMoney;

    @ApiModelProperty("最后持有设备用户id，参考t_custom.id")
    private String lastOwnerId;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("0.未删除 1.删除")
    private Integer deleteFlag;

    @ApiModelProperty("录入员ID,关联t_sys_user.id")
    private String createUserId;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新人ID,关联t_sys_user.id")
    private String updatedUserId;

    @ApiModelProperty("更新时间")
    private Date updatedTime;

}
